package top.jiangqiang.qianyi.common.constants.http;

import lombok.Getter;

/**
 * http协议
 */
@Getter
public enum HttpProtocol {
    HTTP, HTTPS;

    /**
     * 获取协议名字
     *
     * @return 协议名字字符串
     */
    public String getProtocolName() {
        return name().toLowerCase();
    }
}
